package com.panda.web.service.commons;

import com.panda.web.domain.vo.EditionVO;
import com.panda.web.entity.commons.SpecialEdition;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.panda.web.utils.pageutils.PageResult;


/**
 * 专业分类Service接口
 * 
 * @author cpanda
 * @date 2025-03-05
 */
public interface ISpecialEditionService extends IService<SpecialEdition> {
    //分页查询
    PageResult<SpecialEdition> PageList(SpecialEdition dto, Integer pageNum, Integer pageSize);
    //无分页查询
    List<SpecialEdition> choiceList(SpecialEdition dto);
    //回显数据
    SpecialEdition selectById(Long editionId);

    //新增
    int insert(SpecialEdition dto);
    //修改数据
    int updateEditionById(SpecialEdition dto);
    //删除数据（逻辑删除）
    int removeByEditionIds(List<Long> ids);

    List<EditionVO> getSpecialTree(SpecialEdition edition);
}
